/* 首页样式 */
/* header start */
.header{
    height: 44px;
    background-color: #0EB6FF ;
    display: flex;
    align-items: center;
}
.header .position{
    margin: 0 16px 0 15px;
}
.header .position span.icon-weizhi{
    font-size: 17px;
    color: #fff;
}
.header .search{
    flex: 1;  /* 占满所有的剩余空间*/   
    position: relative;

}
.header .search .input-search{
    border: none;
    height: 30px;
    width: 100%;
    border-radius: 15px;
    padding-left: 35px;
}
.header .search .input-search::placeholder{
    font-size: 14px;
    color: #9D9E9D;
}
.header .search span.icon-fangdajing{
    color: #9D9E9E;
    font-size: 13px;
    position: absolute;
    left: 12px;
    top: 8px;
}
.header .chat{
    margin: 0px 11px 0 12px;
}
.header .chat span.icon-xiazai16{
    font-size: 21px;
    color: #fff;
}
/* end header */
/* menu start */
.menu ul{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 18px;
    margin: 16px 8px 1px;
}
.menu ul li{
    min-height: 100px;
}
.menu ul li .bl1-1{
    padding-top: 100%; /* 是相对于.bl1-1父元素li的宽度而言*/
    border-radius: 50%;
    position: relative;
}
.menu ul li .iconfont{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    font-size: 38px;
    color: #fff;
}
.bg1{
    background-color: #BEE570;
}
.bg2{
    background-color: #F8CEB4;
}
.bg3{
    background-color: #B4DDFF;
}
.bg4{
    background-color: #9DBAE1;
}
.bg5{
    background-color: #FFE38F;
}
.bg6{
    background-color: #7AD9E8;
}
.bg7{
    background-color: #C2C1FD;
}
.bg8{
    background-color: #FECD9A;
}
.bg9{
    background-color: #98E8C1;
}
.bg10{
    background-color: #84D1E8;
}
.menu ul li .title{
    text-align: center;
    margin: 13px 0 16px;
}
/* 当前是屏幕设备，同时宽度小于等于350px */
@media screen and (max-width: 360px) {
    .menu ul li .iconfont{
        font-size: 30px;
    }
    .menu ul{
        column-gap: 8px;
    }
}
@media screen and (max-width: 360px) {
    .menu ul li .title{
        white-space: nowrap;
        /* font-size: 10px; */
        transform: scale(0.9);
    }
}
/* end menu */
/* cheap start */
.cheap{
    border-radius: 5px;
    padding: 15px 10px 12px 10px;
    background-color: #fff;
}
.cheap .cheap-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cheap .cheap-title .text{
    font-weight: bold;
    font-size: 14px;
    color: #101010;
}
.cheap .cheap-title .more{
    padding-right: 12px;
    color: #101010;
    background: url(../images/arrow-right.png) no-repeat right center;
    background-size: 5px;

}
.cheap .cheap-content{
    overflow: hidden;
}
.cheap .cheap-content ul{
    width: calc(100% + 26px);
    display: flex;
    margin-right: 13px;
}
.cheap .cheap-content ul li{
    width: calc(100% / 3);
    padding-right: 26px;
}
/* .cheap .cheap-content .item-content{
    background-color: pink;
} */
.bl94-81{
    padding-top: calc(81 / 94 * 100%);
    position: relative;
}
.bl94-81 img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cheap-content .item-content .title{
    margin: 10px 0 12px 0;
}
.cheap-content .item-content  a.txt{
    color: #101010;
    font-weight: 400;
}
.cheap-content .item-content .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cheap-content .item-content .price{
    font-size: 14px;
    color: #CE5F41;
}
.cheap-content .item-content .price i{
    color: #101010;
    font-style: normal;
}
.cheap-content .item-content .cart{
    width: 22px;
    height: 22px;
    background-color: #0EB6FF;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
}
.cheap-content .item-content .cart .icon-gouwuche{
    font-size: 12px;
    color: #fff;
}
/* end cheap */
/* recommend-product start */
.recommend-product{
    margin-top: 10px ;
    display: flex;
    column-gap: 9px;
}
.recommend-product .product-item{
    flex: 1;
    min-height: 100px;
    background: #FFFFFF;
    border-radius: 5px;
    padding: 15px 0 12px 0;
    min-width: 0;
}
.recommend-product .product-item .title{
    margin-left: 13px;
    font-weight: bold;
    font-size: 14px;
}
.recommend-product .product-item .desc{
    margin: 10px 0 7px 12px;
    color: #9D9E9D;
}
.product-item ul{
    display: flex;
    column-gap: 21px;
    padding: 0 15px;
}
.product-item ul li{
    flex: 1;

}
.bl1-1{
    padding-top: 100%;
    position: relative;
}
.bl1-1 img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* end recommend-product */
/* product-category start */
/* .tab-header start */
.product-category{
    padding-bottom: 80px;
}
.product-category .tab-header{
    margin: 23px 10px 12px 2px;
}
.tab-header .swiper-wrapper{
    justify-content: space-between;
}
.tab-header .swiper-slide{
    width: auto;
}
.tab-header .swiper-slide p{
    font-size: 16px;
    font-weight: 400;
    color: #101010;
    margin-bottom: 10px;
    text-align: center;
}
.tab-header .swiper-slide span{
    display: block;
    width: 63px;
    height: 17px;
    color: #9D9E9D;
    border-radius: 9px;
    text-align: center;
    line-height: 17px;
}
.product-category .tab-header .swiper-slide.swiper-slide-thumb-active p{
    color: #0EB6FF;
}
.product-category .tab-header .swiper-slide.swiper-slide-thumb-active span{
    background: #0EB6FF;
    color: #FFFFFF;
}
.product-category .tab-content .swiper-slide li{
    padding-bottom: 10px;
}
.product-category .tab-content-item{
    display: flex;
    background: #FFFFFF;
    border-radius: 5px;

}
.product-category .tab-content-item .img{
    width: calc(103 / 353 * 100%);
    min-height: 100px;
    padding: 23px 0 0 9px;
}

.product-category .tab-content-item .info{
    width: calc(250 /353 * 100%);
    min-height: 100px;
    padding-left: 13px;
}
.product-category .tab-content-item .info .title{
    padding-right: 10px;
    padding-top: 15px;
    font-weight: 400;
    font-size: 14px;
    color: #101010;
    height: calc(14px + 23px);
}
.product-category .tab-content-item .info .marks{
    display: flex;
}
.product-category .tab-content-item .info .mark{
    font-weight: 400;
    color: #9D9E9D;
    border-radius: 4px;
    border: 1px solid #9D9E9D;
    padding: 3px 6px;
    margin-right: 5px;
}
.product-category .tab-content-item .info .mark.active{
    border-color: #CE5F41;
    color: #CE5F41;
}
.product-category .tab-content-item .price-cart{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}
.product-category .tab-content-item .price-cart .price{
    font-family: Arial;
    font-weight: 400;
    color: #CE5F41;
    font-size: 14px;
}
.product-category .tab-content-item .price-cart .price i{
    font-style: normal;
    color: #101010;
}
.product-category .tab-content-item .price-cart .cart {
    width: 22px;
    height: 22px;
    background-color: #0EB6FF;
    border-radius: 50%;    
    text-align: center;
    line-height: 22px;
    color: #fff;
    margin-right: 14px;
    font-size: 12px;
}
.product-category .tab-content-item .count{
    margin-top: 7px;
    margin-bottom: 15px;
    font-weight: 400;
    color: #9D9E9D;
}
/* end tab-header */
/* end product-category */

/* tabbar start */
.tabbar{
    width: 100%;
    height: 50px;
    background-color: #FFFFFF;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
    padding-bottom: 20px;
    /* 兼容 IOS<11.2*/
    padding-bottom: constant(safe-area-inset-bottom);
    /* 兼容 IOS>11.2*/
    padding-bottom: env(safe-area-inset-bottom);
}
.tabbar ul{
    height: 100%;
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tabbar ul .tabbar-item{
    text-align: center;
}
.tabbar ul .tabbar-item .iconfont{
    font-size: 20px;
    color: #404040;
}
.tabbar ul .tabbar-item .iconfont.icon-gouwuche{
    font-size: 24px;
}
.tabbar ul .tabbar-item .txt{
    font-weight: 400;
    color: #9D9E9D;
    margin-top: 5px;
}
.tabbar ul .tabbar-item.active .iconfont{
    color: #0EB6FF;
}
.tabbar ul .tabbar-item.active .txt{
    color: #0EB6FF;
}
/* end tabbar */